package lu.med.praxiswahl.wahlumed.service.beans.serviceinterface;

import java.util.Calendar;

import lu.med.praxiswahl.wahlumed.model.beans.CustomerTBL;
import lu.med.praxiswahl.wahlumed.model.beans.EchoTBL;

/**
*
* @author Patrick kendzo
* Email: pkendzo@msn.com
*/

public interface EchoServiceInt
{
	public static final int RET_OPERATION_DONE_PROPERLY = 0;
    public static final int RET_OPERATION_FAILED = 1;
    
    
    public int create_E_Item(Calendar datum, String matricule, String bezeichner, String text);
    public void getA_EInstance(EchoTBL ctg);
    
	public Long getE_nummer();

	public String getBezeichner();
	public void setBezeichner(String bezeichner);

	public String getText();
	public void setText(String text);

	public Calendar getDatum();
	public void setDatum(Calendar datum);

	public CustomerTBL getCustomer();
	public void setCustomer(CustomerTBL customer);

	public EchoTBL[] getEByCustomer(String matricule);
	
	public int deleteEItem(Long id);
        
    public Long getSubPrimaryKeyIndex();
	
    public void update_date(Long id, Calendar datum);

}
